package com.shopping_back.service;

import com.shopping_back.pojo.entity.MerchantInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.shopping_back.pojo.vo.MerchantInfoVO;
import org.springframework.transaction.annotation.Transactional;

/**
 * <p>
 * 商家信息表 服务类
 * </p>
 *
 * @author Jack
 * @since 2025-07-12
 */
public interface IMerchantInfoService extends IService<MerchantInfo> {

    void updateMerchantInfo(Long userId, String shopName);

    @Transactional(rollbackFor = Exception.class)
    Object saveMerchantInfo(MerchantInfoVO merchantInfo);
}
